Whether you are looking for a routine to tell you how many colors are on a user's main monitor, or the complete source code for a killer game that uses GWorlds or sprite animation, you'll find it here. There's hundreds of thousands of lines of source code, in C, C++, Pascal, and other languages. You'll find complete applications, code resources, Control Panels, Extensions, Libraries, and Snippets. Most code examples are built using CodeWarrior, Symantec, or MPW environments.
----------
ComboBox 1.1.1
ComboBox provides an easy way for users to choose an item from a list. 4th Dimension provides Choice Lists for this purpose, but the current implementation has several problems. ComboBox addresses these user-related problems while providing a programming interface that allows the area to adapt to practically any look and feel the designer wishes.
__________
Apprentice 5:Source Code:Add-Ons:4D:
Steve Dwire
Metrowerks
68KPPC
----------
Refractor 1.0
Refractor is a very cool After Dark screen saver. It does live morphing/warping of your desktop, runs native on Power Macs, and has separate code for 68000, 68020+, 68k w/coprocessor, and PowerPC. Full projects, source code, and documentation are included to show howthis whole mess goes together.
Apprentice 5:Source Code:Add-Ons:After Dark:
Steve Bushell
Metrowerks
68KPPC
ScreenFlip 1.5
ScreenFlip is an After Dark screen saver module which performs animated horizontal and vertical flips of your screen's contents. It is compatible with After Dark (both 2.0 and 3.0), DarkSide of the Mac, and UnderWare. Features: Flicker-free animation; does not use any permanent System memory under After Dark 2.0; has an animated About Box and thumbnail; runs under both MultiModule and the Randomizer — without crashing; comes with extensively documented source code in 68K and PPC CodeWarrior projects.
Apprentice 5:Source Code:Add-Ons:After Dark:
Leo Breebaart
/info-mac/dev/src/
Metrowerks
68KPPC
The Swarm 1.5
The Swarm is an After Dark module which demonstrates very simple, but surprisingly elegant and mesmerizing line animation, in which a number of small line segments (the 'bees') chase one other segment (the 'queen bee') across the screen. Features fast, flicker-free animation. Includes documented source code in 68K and PPC CodeWarrior projects.
Apprentice 5:Source Code:Add-Ons:After Dark:
Leo Breebaart
/info-mac/dev/src/
Metrowerks
68KPPC
Twist 1.0b1
Twist is an After Dark screen saver module that twists the screen. Includes both 68K and PPC projects for CodeWarrior.
Stufffolder is a utility program which makes using StuffIt Lite™ as easy as using a folder in the Finder. Instead of opening a StuffIt archive, dragging items into it, and closing the archive again, you simply drag the items onto a ‘Stufffolder’. Stufffolders can be opened with StuffIt Lite™ just like ordinary StuffIt Lite™ archives.
__________
Apprentice 5:Source Code:Add-Ons:AppleScript:
Reinder Verlinde
Symantec
68K
----------
AppFont XFCN 1.0.0
AppFont XFCN returns the current application font. For example, if your system is set in a default manner, it will return Geneva. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
BitDepth XFCN 1.0.2
BitDepth XFCN returns the bit depth of the main screen. For example, if you are in 256 color mode, it will return 8. If you are in black and white mode, it will return 1. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
CapsKeyDown XFCN 1.0.0
CapsKeyDown XFCN tells you whether the caps lock key is down or not. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
CharCount XFCN 1.0.2
CharCount XFCN returns the number of times a specified character appears in the source text. It requires two parameters: the search character, and the string to search. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
CRCValue XFCN 1.0.2
CRCValue XFCN returns a 16 bit CRC of a specific piece of text. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
CurrentDate XFCN 1.0.0
CurrentDate XFCN tells you the current date, formatted based on the setting in the Date & Time control panel. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
CurrentTime XFCN 1.0.0
CurrentTime XFCN tells you the current time, formatted based on the setting in the Date & Time control panel. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
OptKeyDown XFCN 1.0.2
OptKeyDown XFCN returns true if the option key is down. Obviously, it does not require any parameters, and will warn you if you try to pass them. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
ROT13 XFCN 1.0.2
ROT13 XFCN rotates letters from a-z and A-Z by 13 and returns the result. This is useful for some Usenet news articles that have been rudimentarily encrypted with this technique. Requires one parameter: the text to be rotated. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
ScreenHeight XFCN 1.0.2
ScreenHeight XFCN returns the height of the main screen in pixels. It does not require any parameters, and will warn you if you try to pass them. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
ScreenWidthXFCN 1.0.2
ScreenWidth XFCN returns the width of the main screen in pixels. It does not require any parameters, and will warn you if you try to pass them. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
SoundLevel XFCN 1.0.0
SoundLevel XFCN tells you the current sound level, as set in the Sound control panel. Includes test stack and project for CW9.
__________
Apprentice 5:Source Code:Add-Ons:HyperCard:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
MPW cawf 4.0.9
MPW cawf is a C version of awf, Henry Spencer's Amazingly Workable (text) Formatter. (Awf is written in awk and appears in comp.sources.unix, Volume 23, Issue 27.) Cawf and awf provide a usable subset of raw nroff capabilities and the styles of the man(7), me(7) (only cawf supports me(7)), and ms(7) macro sets. One of cawf's virtues is that it will run on PC clones under MS-DOS or OS/2. It will also run on the Apple Macintosh as a Macintosh Programmer's Workshop (MPW) tool. Like awf, cawf is completely independent of any licensed Unix source code. In comparison to awf, cawf supports more nroff functions and one more macro set, me(7). Includes complete source code.
__________
Apprentice 5:Source Code:Add-Ons:MPW:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
MPW
68K
----------
MPW dmake 4.0
MPW dmake is a Make like tool that has been used by individuals at the University of Waterloo. This release replaces all previous releases; which are no longer supported. The most current source code for dmake is available for anonymous ftp from plg.uwaterloo.ca. It is in the pub/dmake directory, set your mode to binary, and copy the distribution format that suits your target environment the best.
__________
Apprentice 5:Source Code:Add-Ons:MPW:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
MPW
68K
----------
MPW fixit
fixit is an MPW tool that translates easily readable infix mathematical expressions into difficult to read and edit fixed point math function calling sequences that are suitable for use as expressions in C programs. It also serves as a fixed point expression evaluator. Full C, yacc, and lex source code included. Also, C source code for the following fixed point routines can be found herein: FixSqrt, FixExp, FixSquare, FixCos, FixSin, FixTan.
__________
Apprentice 5:Source Code:Add-Ons:MPW:
John Montbriand
MPW
68K
----------
MPW noweb 2.7
MPW noweb is a simple, extensible literate-programming tool. noweb is available via anonymous ftp from the Comprehensive TeX Archive Network, in directory web/noweb. CTAN includes hosts ftp.shsu.edu, ftp.tex.ac.uk, and ftp.uni-stuttgart.de. Note that if you simply get 'noweb.tgz', you'll be getting a bunch of binary distributions that you probably don't want. Most users will want either one of the binary distributions or else the source (src). Fanatics can check out the contrib and examples directories.
__________
Apprentice 5:Source Code:Add-Ons:MPW:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
MPW
68K
----------
MPW re2c 1.1
MPW re2c is a tool for generating C-based recognizers from regular expressions. re2c-based scanners are efficient: for programming languages, given similar specifications, an re2c-based scanner is typically almost twice as fast as a flex-based scanner with little or no increase in size (possibly a decrease on cisc architectures). Indeed, re2c-based scanners are quite competitive with hand-crafted ones. Unlike flex, re2c does not generate complete scanners: the user must supply some interface code. While this code is not bulky (about 50-100 ines for a flex-like scanner; see the man page and examples in the distribution) careful coding is required for efficiency (and correctness).
__________
Apprentice 5:Source Code:Add-Ons:MPW:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
MPW
68K
----------
MPW rman 1.3.4
MPW rman is a filter for UNIX manual pages. It takes as input man pages formatted for a variety of UNIX flavors (not [tn]roff source) and produces as output a variety of file formats. Currently, it accepts man pages as formatted by the following flavors of UNIX: Hewlett-Packard HP-UX, AT&T System V, SunOS, Sun Solaris, OSF/1, DEC Ultrix, SGI IRIX, Linux, SCO; and produces output for the following formats: printable ASCII only (stripping page headers and footers), section and subsection headers only, TkMan, [tn]roff, Ensemble, SGML (soon--I finally found a DTD), HTML, LaTeX, RTF, Perl 5's pod.
__________
Apprentice 5:Source Code:Add-Ons:MPW:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
MPW
68K
----------
Learn C++ (CodeWarrior)
Learn C++ is the source code which accompanies the book, Learn C++ on the Macintosh by Dave Mark.
__________
Apprentice 5:Source Code:By the Book:
Dave Mark
http://www.spiderworks.com/dmark/
Symantec
68K
----------
Mac C Primer V1 CW9
Mac C Primer V1 is newly updated source code for Dave Mark's book of the same name. It includes both 68K and PPC projects for CW9.
__________
Apprentice 5:Source Code:By the Book:
Dave Mark
http://www.spiderworks.com/dmark/
Metrowerks
68KPPC
----------
Mac C Primer V2
Mac C Primer V1 is the source code which accompanies the book, Macintosh Programming Primer, Volume 2 by Dave Mark.
__________
Apprentice 5:Source Code:By the Book:
Dave Mark
http://www.spiderworks.com/dmark/
Symantec
68K
----------
Mac Pascal Primer, 4.0
Mac Pascal Primer is the source code which accompanies the book, Macintosh Pascal Programming Primer by Dave Mark.
__________
Apprentice 5:Source Code:By the Book:
Dave Mark
http://www.spiderworks.com/dmark/
Symantec
68K
----------
Acme Filters 2.3.0
Acme Filters is a file processor, supporting the following filters: ASC -> Mac: Converts Smith-Corona files (saved in ".ASC" ASCII format) to WriteNow® documents. Delete RF: Deletes the resource fork of any text file. Find Original: Opens the folder containing the file linked to an alias. Rot 13: Rot 13s the text in any text file. Tab2Space: Converts tabs to equivalent spaces in any text file. It doesn't just blindly replace tabs with spaces, but instead calculates how many spaces are required for each tab so the text lines up properly. Touch: Sets any file's modification date and time to now. (Holding down the option key while selecting this filter allows you to specify the creation and modification dates.) Type/Creator: Allows any file's type and creator codes to be viewed or modified.
__________
Apprentice 5:Source Code:C:Applications:
Eric Curtis
68K
----------
BYacc-CW 1.9
BYacc-CW is a yet another port of Berkeley Yacc 1.9 to the Macintosh. To use it, just drag-and-drop your .y file onto the Yacc icon. If you forget this and just open the application, it will use StandardGetFile to prompt for a text file. Once a file is provided, the GUI is pretty self explanatory to anyone who has used Yacc on unix. About the only thing that isn't obvious is that if you hold down option when you click the "Yacc" button, it will save the current settings in the document that you dropped on the application; this allows you to set up your custom settings once for each document then just drag/drop/hit return for all further Yacc sessions.
__________
Apprentice 5:Source Code:C:Applications:
Jeffrey C. Laing
/info-mac/dev/
Metrowerks
68KPPC
----------
Cheat II
Cheat II is an application which helps you cheat in a number of games. If you've ever wanted to have extra lives, bump up your score, or see what a different level looks like, Cheat II will get you there.
__________
Apprentice 5:Source Code:C:Applications:
Adam Miller
Symantec
68K
----------
Creator Changer 2.7
Creator Changer is a utility which allows you to change the file type and creator of files. Projects for THINK C 7 (68k) and Symantec C 8 (PPC) included.
__________
Apprentice 5:Source Code:C:Applications:
Christopher L. Waskowich
Symantec
68KPPC
----------
FakeStart 1.0
FakeStart is a set of code that builds a small application whose only purpose is to launch some other application (the "real" application) into low memory. Some older applications still run on modern Macs, provided they aren't launched too high in memory. You'll like this app if you have an old application that still runs, but only if you start up enough other applications first to force that old one to be launched into relatively low memory. This little starter app will launch it low in one step, and leave all other system memory free.
__________
Apprentice 5:Source Code:C:Applications:
Ken Earle
Metrowerks
68KPPC
----------
Fixation 1.3
Fixation is a Mac client for Internet chess servers. You can use it to play chess games against other players over the Internet. Includes CW projects for both 68K and PPC.
__________
Apprentice 5:Source Code:C:Applications:
Adam Miller
Metrowerks
68KPPC
----------
Flex-CW 2.5.1
Flex-CW is a fast lexical analyser generator for C and C++. To use it, drag-and-drop your flex parser description file (usually a file with a .l extension) onto the Flex icon. If you forget this and just open the application, it will use StandardGetFile to prompt for a text file. Once a file is provided, the GUI is pretty self explanatory to anyone who has used Flex on unix.
__________
Apprentice 5:Source Code:C:Applications:
Jeffrey C. Laing
/info-mac/dev/
Metrowerks
68KPPC
----------
GW AdaEd 1.4.2
GW AdaEd is an interactive development environment for the Ada programming language. It is based on the AdaEd compiler/interpreter developed at NYU. The language (and the environment) was designed for education purposes, but it is stable enough that it can be used for small and medium size projects, or for learning the Ada language on your own. Includes CodeWarrior (68K and PPC) projects and complete source code.
InterLaunch is a small but useful launching utility for Internet applications. It acts as an interface to your favorite applications, as well as MacPPP. This version was updated to compile with CW9.
__________
Apprentice 5:Source Code:C:Applications:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
LibLook 1.0a
LibLook is a tool you can use to check the exported symbols of a CFM shared library. It displays a list of the names of all the exported symbols. It should be able to look at both 68K and PPC CFMs when run from either platform. You need the Code Fragment Manager (CFM-68K Runtime Enabler [init]) installed on 68K machines to run this.
__________
Apprentice 5:Source Code:C:Applications:
Mike Scalora
/info-mac/dev/
Metrowerks
68KPPC
----------
MacGzip 1.0
MacGzip is a utility that will compress and decompress .gz files, the new compression standard that the GNU folks use. It will also decompress .Z files as well. Includes Symantec and Metrowerks source code for 68K and PPC versions. Distributed under the GNU General Public License
__________
Apprentice 5:Source Code:C:Applications:
Jose A. Gutierrez
/info-mac/dev/src/
MetrowerksSymantec
68KPPC
----------
MacTide 1.3.3
MacTide is a port of UNIX Tide, a harmonic tide clock and tide predictor. Basically, the UNIX version is TTY-based, and the code from it was taken pretty much verbatim, so it doesn't have a very pretty Mac interface. Daylight savings time is not supported, since the author cannot know what rules apply in all parts of the world.
__________
Apprentice 5:Source Code:C:Applications:
Mikhail Fridberg
ftp://caife.pfc.mit.edu/Pub/mactide133.hqx
Symantec
68K
----------
Mic-1 1.0
Mic-1, a microprocessor simulator, was inspired by Dr. Tanenbaum's article, "Structured Computer Architecture", which supplied the concept, ideas, diagrams, and microprogram. It was built it in C++, and the interface is sorely lacking, since it is SIOUX. Includes source code.
__________
Apprentice 5:Source Code:C++:Applications:
John DeWeese
Metrowerks
68K
----------
Minimalist Clock 1.0.3
Minimalist Clock is a very small application which displays a clock on your screen. You can move the clock wherever you like. You can also view the current date by clicking the clock once. This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Applications:
Paul Celestin
Metrowerks
68KPPC
----------
Moscow ML 1.31
Moscow ML provides a light-weight implementation of Standard ML, a strict functional language widely used in teaching and research. The current version 1.31 implements the Standard ML Core language, a simple module system supporting separate compilation, and a preliminary version of the new Standard ML Standard Library.
__________
Apprentice 5:Source Code:C:Applications:
Doug Currie
http://www.dina.kvl.dk/~sestoft/mosml.html
Metrowerks
68KPPC
----------
nanoInstall 1.0
nanoInstall is a very small installer. Its main feature is its tiny size. This may be an advantage when distributions are small (example: a nano-installer containing the entire package compresses to something which is smaller than a StuffIt Lite archive containing the nanoInstall distribution).
__________
Apprentice 5:Source Code:C++:Applications:
Reinder Verlinde
Symantec
----------
NeuroSim 1.0
NeuroSim is a simple neural net simulator. A neural net is formed by a matrix of connected neurons. Every neuron has a state which is described with an integer. Every neuron also has a border value, which equals the number of connections starting from the neuron. When the state of the neuron exceeds the neuron's border value, the neuron lights up and sends an impulse to all the neurons it's connected to. The impulse increases the state of every connected neuron by one. After lighting up the neuron's state returns to zero.
__________
Apprentice 5:Source Code:C++:Applications:
Timo Eloranta
http://www.uta.fi/~sttiel/
Metrowerks
68KPPC
----------
NoEject 1.1
NoEject disables the ejection of removable SCSI drive media on restart or shutdown. So all your CDs and removable cartridges should stay in their drives. Just run NoEject and on the next restart or shutdown the ejection of removable media is disabled. NoEject does not patch your system so you have to start it again after a restart or shutdown. If you want to use NoEject all the time just put it in the Startup Items folder.
__________
Apprentice 5:Source Code:C:Applications:
Dieter Spaar
MPW
68K
----------
PICSee Dust 1.01
PICSee Dust is a general purpose PICS viewer. It will also save you lots of time and effort if you work with PICS files and need to edit all of the frames of the PICS on a "global" scale. For example, what do you usually do if you need to crop all of the frames of a PICS file? Probably export each frame as a PICT file, crop each frame manually, and merge all of the files back into the PICS file. Not for the lazy. Well no more! You can specify to PICSee Dust a crop area to apply to all of the frames or to a range of the frames. You can do this by using the convenient marquee or typing in the values yourself. PICSViewer also provides nice tools to shrinking/growing the marquee, giving you precise control over what area to crop.
__________
Apprentice 5:Source Code:C++:Applications:
Hiep Dam
Metrowerks
68K
----------
Pinup 2.1.0
Pinup simply puts up a window with a picture of your choice. The picture is read from the resource fork of the application. Updated for CW9.
__________
Apprentice 5:Source Code:C:Applications:
Darrell Anderson
Metrowerks
68KPPC
----------
Portable Patmos 1.1
Portable Patmos is a BSD unix program environment. The advantages of this are that you can compile almost all BSD or GNU software including C and C++ without modifying the source code in any way. The original Patmos ran in protected mode, the preferred method for debugging, but for greater portability this version has been slimmed down to run on any 68020+ mac or powermac. It still is not compatible with virtual memory because it captures certain exceptions and trap vectors for supervisor use. To keep archive size down only the bare minimum to get going is included. This consists of the shell, the C compiler/assembler/linker, the automated build utility (make) and a few utilities.
Python is a Mac port of the Python programming language. The language itself is written in C (source code included), and it comes complete with documentation and tons of examples.
__________
Apprentice 5:Source Code:C:Applications:
Jack Jansen
ftp://ftp.python.org/pub/python/
MetrowerksSymantecMPW
68KPPC
----------
RandomDot 1.1.0
RandomDot is a program which generates "Single Image Random Dot Stereograms", otherwise known as SIRDS. It takes its input from a standard Mac PICT file or portable grey-may file that describes a 3D scene. Updated for CW9.
__________
Apprentice 5:Source Code:C:Applications:
David Phillip Oster
Metrowerks
68KPPC
----------
Register Me 1.0b2
Register Me is an example of the interface to a registration application. It asks for your information and then goes about the motions of either saving it to a text file, or allowing you to send the information. Of course, it does neither, but it is useful to see how one might design a registration client.This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Applications:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
Shutter 1.1
Shutter is a small program that doesn't do anything much except ask you whether to shut down or restart your Mac, or not. Includes CW 68K project.
__________
Apprentice 5:Source Code:C:Applications:
Ross Younger
/info-mac/dev/src/
Metrowerks
68K
----------
SlideShow 1.0
SlideShow is a very small program that will display all the images in a selected folder, in slide show format. Supports common formats PICT, TIFF, GIF and JPEG. As long as all images are in the same folder, they all get shown. It also features fast file scanning- this program does not prebuild lists of displayable files, and so will display images of slow media, such as CD-ROM with no prescan delay- a boon for browsing ISO 9660 picture archives!
__________
Apprentice 5:Source Code:C:Applications:
Graham Cox
Metrowerks
68K
----------
Telnet 2.7b5
Telnet is the popular Telnet application from NCSA. Requires a TCP/IP connection.
Apprentice 5:Source Code:C:Applications:
Clinton Popetz
ftp://ftp.ncsa.uiuc.edu/Mac/Telnet/
68KPPC
Telnet Server 1.0
Telnet Server is a Telnet-based Talk server/client, which can be used as a substitute for people who don't have talk applications. All it does is listens on telnet port for incoming connections (you can change port number in headers) and, when a connection received, it sends back greeting string entered in the panel, beeps many times and opens 2 windows - one to talk and one to listen. Any computer that has telnet client will be able to connect.
__________
Apprentice 5:Source Code:C:Applications:
Mikhail Fridberg
ftp://caife.pfc.mit.edu/Pub/mactide133.hqx
Symantec
68K
----------
Transcript 1.0b1
Transcript is a simple AppleScript-aware text display server-application. It enables programs written in C & C++ to 'printf' to a scrolling window without having to add standard I/O type windows to the program itself. Additionally Transcript allows debugging code to be left in test releases of applications which then only display the information if Transcript is running. On top of all of that Transcript can also be used from within AppleScript. Included is the C source for the API and a 'Hello World!' example, a ReadMe file, an AppleScript example and a fat binary of the Transcript application that is compatible with Macintoshes and Power Macintoshes from SEs upwards and System 7.0 or later. Transcript requires only 100K-140K of RAM to run.
__________
Apprentice 5:Source Code:C:Applications:
Christopher E. Hyde
/info-mac/dev/src/
MPW
68K
----------
cicnButton CDEF 1.3.1
cicnButton is a CDEF (control definition) that allows you to use cicn color icons as buttons instead of the drab black and white buttons that you are used to. You can use it just about anywhere. It has been tested on various machines and includes a small application demonstrating its use. This version updated to compile under CW9.
__________
Apprentice 5:Source Code:C:Code Resources:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
icl8 LDEF 2.0
icl8 LDEF calls on PlotIconID() to draw the icons; thus depending on the depth and cell size of whatever gets drawn, icl8, ics8, or icl4, etc. is used. What distinguishes this LDEF from the many masses of other LDEFs out there is the different ways this LDEF supports hiliting a cell: hilite by plain old inversion (if the background isn't white, you'll get a funky result); hilite by using the hilite color; framing the cell using a black border; framing the cell using the hilite color; framing the cell using a custom drawing routine inside the LDEF; the border looks like the border of the movable modal dialogs in System 7.
__________
Apprentice 5:Source Code:C++:Code Resources:
Hiep Dam
Metrowerks
68KPPC
----------
PICTButton CDEF 1.3.1
PICTButton is a CDEF (control definition) that allows you to use PICT resources as buttons instead of the drab black and white buttons that you are used to. You can use it just about anywhere. It has been tested on various machines and includes a small application demonstrating its use. This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Code Resources:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
Progress CDEF 1.3.1
Progress is a CDEF (control definition) that allows you to display a simple thermometer progress bar, similar to the one the Finder uses when it shows you a file copy in progress. You can use it just about anywhere. I've tested it on various machines and it seems to work fine.This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Code Resources:
Paul Celestin
http://www.celestin.com/
Metrowerks
68K
----------
Simple LDEF 1.0
Simple LDEF displays text-only lists. It is based on Steve Falkenburg's SICN LDEF. If the cell's data is too long, it is truncated and an ellipsis is added to it; the textface is not automatically condensed. Includes 68K CodeWarrior project.
__________
Apprentice 5:Source Code:C:Code Resources:
Erik Thauvin
http://www.eskimo.com/~ravensys/
Metrowerks
68K
----------
Windows 95 MDEF
Windows 95 MDEF is a menu definition procedure code stub. For those of you who are familiar with this other operating system, they do have pretty windows, if nothing else. Also included is a JPEG snapshot of what a *real* Windows 95 menu looks like for comparison purposes.
__________
Apprentice 5:Source Code:C++:Code Resources:
Hiep Dam
Metrowerks
68K
----------
Argus Frameworks 2.1
Argus Frameworks is an application framework. It demonstrates more than some starter applications and includes some useful function libraries. Although you can feel free to use this framework and function libraries as you wish, there is no expressed or implied warranty as to the performance of the software.
__________
Apprentice 5:Source Code:C++:Frameworks:
Mark Butkiewicz
Symantec
68KPPC
----------
ControlStripShell 1.1
ControlStripShell is a sample Control Strip module project that shows you how to use a popup menu in a Control Strip module.
__________
Apprentice 5:Source Code:C:Frameworks:
Marty Wachter
/info-mac/dev/src/
Metrowerks
68K
----------
Extension Shell 1.5
Extension Shell is a framework that minimises the amount of rewriting that you, as a programmer, have to do when creating System 7 Extensions. Extension Shell provides an 'INIT' code resource which is loaded by the System at boot time. This generic code then calls a handler you provide, which fills in a table, indicating what it would like Extension Shell to do. Extension Shell allows your extensions to correctly display an icon, animate a sequence of icons, post notification messages to the user, install and replace Gestalt selectors, install Shutdown tasks, install VBL tasks, install low memory filters (such as jGNEFilter), leave blocks of code in the System Heap, install Time Manager tasks, and patch out traps with your own routines.
__________
Apprentice 5:Source Code:C:Frameworks:
Dair Grant
http://www.kagi.com/authors/dair
Metrowerks
68K
----------
Grant's CGI Framework 1.0b14
Grant's CGI Framework is a framework for writing 68K & PowerPC Macintosh CGI applications in C. The user of the framework only needs to modify one function (located in its own file) to produce a custom CGI - all the other details are handled by the framework. There are numerous options for customization. Macintosh programming experience is not required (although it helps) - but at least a basic knowledge of the ANSI C language will be neccessary.
__________
Apprentice 5:Source Code:C:Frameworks:
Grant Neufeld
http://arpp1.carleton.ca/grant/mac/
Metrowerks
68KPPC
----------
MacZoop 1.1
MacZoop is a C++ Mac application framework. The big difference between this framework and others is the fact that it is very tiny. It implements a simple Mac application supporting windows and menus, the classic event loop, etc. Of course, it's not as complete as something like Think Class Library or PowerPlant, but it is great starting place for learning application development.
__________
Apprentice 5:Source Code:C++:Frameworks:
Graham Cox
/info-mac/dev/src/
Metrowerks
68KPPC
----------
Recursive Shell 1.0.1
Recursive Shell creates a shell application that makes it easy to create utility applications that perform some task to a large number of files. It supports drag-and-drop - simply drag files or folders to the icon and the application does to each what it wants. In the case of folders, it searches recursively through them and performs the same on each file/folder inside. You can also start the whole process from the menus after launching the application, of course. It is easy to create new utility applications - you simply fill in the functionality of a few routines in one file, and it's done.
__________
Apprentice 5:Source Code:C:Frameworks:
Theron Trowbridge
http://www.concentric.net/~Tmonk/
Metrowerks
68KPPC
----------
Sprocket Framework DR2
Sprocket is a C++ application framework. The goals in mind when it was in development were the following: Easy to understand, easy to learn; Takes advantage of cutting-edge features like Apple Guide, QuickDrawGX, Thread manager, and MacOS 8 calls if available; Compact (the Sprocket Framework is only 20 files); Easy to extend. Sprocket is very easy to learn because it gives you what every commercial or in-house application needs, and not anything more. Sprocket does not suffer from framework bloat like PowerPlant and the Think Class Library (about 100-200 files depending on the version).
TransSkel is a complete shell for creating just about any application on the Mac. It is both comprehensive and instructional. Includes TransSkel, TransDisplay, and TransEdit. Includes THINK C project, as well as 68K and PPC projects for CodeWarrior.
__________
Apprentice 5:Source Code:C:Frameworks:
Paul DuBois
ftp://ftp.primate.wisc.edu/pub/mac/TransSkel/
MetrowerksSymantec
68KPPC
----------
TransSkel++ 305
TransSkel++ is a C++ module designed to be used with the TransSkel application skeleton. With TransSkel++, C++ programmers may use most of the features of the TransSkel application skeleton from C++ source files. In addition, TransSkel++ provides a simple class framework for creating applications with menus, windows, dialogs, and more. This framework closely mirrors the application skeleton TransSkel uses, so users of TransSkel who wish to move their applications to C++ will find the transition natural.
__________
Apprentice 5:Source Code:C++:Frameworks:
Fred Dushin
http://web.syr.edu/~fadushin/
MetrowerksSymantec
68KPPC
----------
Abalone 1.4.2
Abalone is a very nice stratetic board game for two or more players. If you don't know the rules, you can read about them in the About box. This program is a Macintosh implementation of the game Abalone. Each of the two or three Abalone players can be humans (local or remote on the network) or Macs, so you can use the program.
__________
Apprentice 5:Source Code:C:Games:
Peter Tax
MetrowerksSymantec
68KPPC
----------
Arashi 1.1.1
Arashi is an arcade game that supports 256 colors or grays. It is based on the vector-drawn graphics of popular arcades hits.
__________
Apprentice 5:Source Code:C:Games:
Juri Munkki
/info-mac/dev/src/
Symantec
68K
----------
Connect-4 v3.2
Connect-4 provides the functions necessary to implement a front-end independent, device-independent Connect-4 game. Multiple board sizes are supported. It is also possible to specify the number of pieces necessary to connect in a row in order to win. Therefore, one can play Connect-3, Connect-5, etc. An efficient tree-searching algorithm (making use of alpha-beta cutoff decisions) has been implemented to insure that the computer plays as quickly as possible. Includes a very simple version of the game, which illustrates how the Connect-4 functions can be used to construct an implementation of an actual full-featured game. Includes sample TestGame project for 68K and PPC.
__________
Apprentice 5:Source Code:C:Games:
Keith Pomakis
ftp://calum.uwaterloo.ca/pub/u/kppomaki/
Metrowerks
68KPPC
----------
Glypha 3v2
Glypha 3 is a full-color arcade-style game similar to Joust. Demonstrates how to deal with graphics, sounds, and all the other things you need to deal with when designing a game. 68K and PPC CodeWarrior projects included.
__________
Apprentice 5:Source Code:C:Games:
john calhoun
Metrowerks
68KPPC
----------
GNU Chess 3.0.3
GNU Chess is a Mac implementation of the GNU chess program. 68K and PPC CodeWarrior 7 project files included.
Apprentice 5:Source Code:C:Games:
/info-mac/dev/src/
Metrowerks
68KPPC
Hamurabi 1.1.1
Hamurabi is a C implementation of a popular old BASIC game. You're in charge, and you must make sure your people are well taken care of. You will get a year by year assessment of your performance. 68K and PPC projects included. This version updated to compile under CW9.
__________
Apprentice 5:Source Code:C:Games:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
Life 1.0d2
Life is an implementation of the "game" of life, where you create a series of life forms in a grid and use a set of instructions to determine their outcome. If a life form has too many neighbors, it dies from overpopulation. If it has too few neighbors, it procreates. You get the picture.
Pentominoes is a game where you try to place 12 different pieces on a variety of boards without any overlap. Great 2-D geometry puzzler. Features color and black and white support. Also includes sounds.
__________
Apprentice 5:Source Code:C:Games:
Mark Pilgrim
/info-mac/dev/src/
Metrowerks
68K
----------
Safari 2.4.2
Safari is a simple black and white game originally by John Gallaugher. Try to shoot the animals with a politically-correct tranquilizer gun before they stampede off the screen.This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Games:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
SinkShips 2.2.2
SinkShips is an update to a game by Matthew Kavalauskas. The object is to sink the computer's ships before it sinks yours. Sort of like a board game with the same premise. The original game was done in THINK C version 5.This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Games:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
SpriteFight 2002 v2.0a1
SpriteFight 2002 is the source code for a game that is currently being written. It is fairly well documented and should be a good resource for anyone who is interested in writing a game. It features sprite animation (color, large sprites, fast animation); foreground & background animation; multi-channel sound; variable-speed animation; QuickTime movie support; Speech Manager support; Useful file I/O techniques; Apple event support; and lots of other cool stuff! Includes 68K project for Think C.
__________
Apprentice 5:Source Code:C:Games:
Stefan Sinclair
Symantec
68K
----------
Tetris Light 1.0.3
Tetris Light is a light-weight implementation of Tetris for the Macintosh. It does not require color or other high-level features.This version was updated for CW9.
__________
Apprentice 5:Source Code:C:Games:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
Xconq 7.1.0
Xconq is not just a game, it's a game design system. It provides game designers with a variety of tools to help design new kinds of strategy games. Xconq has its own language, called GDL, a declarative Lisp-like language with considerable power.
__________
Apprentice 5:Source Code:C:Games:
Stan Shebs
ftp://ftp.cygnus.com/pub/xconq/
MetrowerksSymantec
68KPPC
----------
alias_to_fname
alias_to_fname is source code to deal with grabbing a full directory path to a document. The "standard" way of going about this is to obtain FSSpec from the AppleEvent record (or by coercing an AliasRecord), and use FSSpec's parent directory id to walk up the folder hierarchy (by repeatedly calling PBGetCatInfoSync()) reconstructing the full path. It works just fine, but kind of tedious: filling out CInfoPBRec struct is rather messy. There's a better way: The AliasRecord gotten from AEDescList of an odoc event record is a minimal AliasRecord. We need the full record. It's very easy to get volume, folder, file names from the full AliasRecord. No PBGetCatInfoSync() calls, at least, not by a programmer.
__________
Apprentice 5:Source Code:C++:Snippets:
Oleg Kiselyov
ftp://replicant.csci.unt.edu/pub/oleg/
Metrowerks
68KPPC
----------
Append 1.0.3
Append is a snippet which lets you append chosen text files together. Pick the first file, and then subsequent choices from the StandardFile dialog are tacked onto the end of it. Updated for CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Ken Long
Metrowerks
68KPPC
----------
AsynchSnd 1.0.3
AsynchSnd is a snippet which demonstrates asynchronous sound playing. Hitting number keys and clicking the mouse button will play sounds. Updated for CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Ken Long
Metrowerks
68KPPC
----------
Background ppat 1.0.2
Background ppat is a simple demonstration of how to create a background using a ppat. This demonstration uses the System ppat, but you could use any ppat you like. Includes THINK C 7 (68K project) and 68K and PPC projects for CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Paul Celestin
http://www.celestin.com/
SymantecMetrowerks
68KPPC
----------
BackInUse 1.0.3
BackInUse is a program written in C which draws a six point poly, then insets the points a certain amount and keeps redrawing until it gets to nothing. Then, it erases the picture and starts the entire process again. All in black and white. Updated for CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Ken Long
Metrowerks
68KPPC
----------
CMIO
CMIO is a C++ class for controlling a National Instruments MIO board for A/D conversion.
__________
Apprentice 5:Source Code:C++:Snippets:
Dan Crevier
ftp://rhino.harvard.edu/pub/dan/
MetrowerksMPWSymantec
68KPPC
----------
DirectoryPopup 1.0
DirectoryPopup is a set of sample code that shows how to display a navigation pop-up menu like the one shown by version 7.x of the Finder when you command-click a window title. Includes CW projects for both 68K and PPC.
__________
Apprentice 5:Source Code:C:Snippets:
Marco Piovanelli
ftp://ghost.dsi.unimi.it/pub2/papers/piovanel/
Metrowerks
68KPPC
----------
GetFileIcon 1.1
GetFileIcon is a code snippet designed to demonstrate how to get a file's icon and display it. Includes CodeWarrior (68K & PPC) and THINK C projects.
Apprentice 5:Source Code:C:Snippets:
Jeff Beeghly
/info-mac/dev/src/
MetrowerksSymantec
68KPPC
Help Dialog
Help Dialog is a freeware program which you can readily modify and adapt to provide your application with an "on-line" help capability. For a description of the program, including details of how to adapt it to the purposes of your own application, run Help Dialog, choose Help Dialog Help… from the Help menu and choose the various items in the pop-up menu within the dialog. Help Dialog was written in C using Metrowerks CodeWarrior.
__________
Apprentice 5:Source Code:C:Snippets:
K. J. Bricknell
Metrowerks
68K
----------
LaunchCreator 1.1
LaunchCreator will get any file/folder "double-clicked" from within a running program. The name of a file/folder to open can be specified either as an ASCII C string, or as a FSSpec. There is included (and shown off) code to convert FSSpec to the full path name (and how it can be used to figure out the full path name to the system folder and the stuff within). Includes CW9 project file.
__________
Apprentice 5:Source Code:C++:Snippets:
Oleg Kiselyov
ftp://replicant.csci.unt.edu/pub/oleg/
Metrowerks
68K
----------
MacLZSS 1.0.3
MacLZSS is a simple application that demonstrates the LZSS compression technique. It lacks a real interface, but it should serve as a useful example for someone looking for sample compression source code. This version was updated to compile with CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Paul Celestin
http://www.celestin.com/
Metrowerks
68KPPC
----------
PlayRiffs 1.0.3
PlayRiffs is a snippet which plays some cool guitar riffs. It also demonstrates some other cool stuff. Updated for CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Ken Long
Metrowerks
68KPPC
----------
PolyPumper 1.4.2
PolyPumper is an itty bitty bytes(tm) production. It was derived frommodifications of two source code projects: RadarScope and SplatMaster. RadarScope started life as the radar part of "BuzyBox" of MacHack fame, SplatMaster was originally by John Benton. PolyPumper 1.4 has increased controls over the 1.2 version, and includes a splash screen. The splash was created with Color It! 2.3, from MicroFrontier, and background pattern was created in SplatMaster 2.0. Updated for CW9.
__________
Apprentice 5:Source Code:C:Snippets:
Ken Long
Metrowerks
68KPPC
----------
PopupMenu Tester 1.0.3
PopupMenu Tester is a simple application which demonstrates the use of a System-7 popup menu, as well as a movable modal dialog. It doesn't do much else, but maybe it has something to offer to someone who is new to all of this.This version was updated for CW9.
Apprentice 5:Source Code:C:Snippets:
Paul Celestin
Metrowerks
68K
PPP_PrefSaver 1.1
PPP_PrefSaver provides two example 'IEnd' code resources. Each can be used with Aladdin's InstallerMaker program, to prompt a new Internet user to enter the name of their PPP account and their password, in order to save those settings into their PPP Preferences file. This works in the context of an Installer which installs all of the needed software for Internet/Web access, including FreePPP or MacPPP and a pre-configured PPP Preferences file, set up properly for accessing that service. Be sure that the PPP Preferences file you use is created by the same extension included in your archive. Current versions of FreePPP create a preferences file which is not compatible with MacPPP.
__________
Apprentice 5:Source Code:C:Snippets:
Eric Long
http://members.aol.com/XTimer4Mac/
Symantec
68K
----------
ShowInitAndName
ShowInitAndName is a complete package with everything you need to show icons at startup and join the next generation of inits! The entire, fully documented source code is included -- and is free to any programmer who wants it. This next generation of inits display their filenames beneath their icon, and are highlighted while they are active. Best of all, the operating system can override their behavior, so your inits will remain current for years to come.
__________
Apprentice 5:Source Code:C:Snippets:
David Cook
/info-mac/dev/src/
MetrowerksSymantec
68KPPC
----------
Simple C Sound
Simple C Sound is a plug-in source file for the asynchronous playing of sounds which supports 2 channels simultaneously.
__________
Apprentice 5:Source Code:C:Snippets:
Ross Younger
/info-mac/dev/src/
MetrowerksSymantec
68KPPC
----------
SimpleParseUtils 1.0.3
SimpleParseUtils is a collection of utilities that are useful for very simple parsing tasks.
__________
Apprentice 5:Source Code:C:Snippets:
Chris K. Thomas
MetrowerksSymantec
68KPPC
----------
Stuart's Tech Notes
Stuart's Tech Notes is an updated collection of technical works contributed to the Mac programming community by Stuart Chesire, author of the network game Bolo. It includes code fragments, hints, tips, and anything else the author thinks might be useful to other programmers. Includes source code examples for everything from dealing with network issues to uudecoding a file.
__________
Apprentice 5:Source Code:C:Snippets:
Stuart Chesire
ftp://bolo.stanford.edu/
68KPPC
----------
SuperSplash 1.0d1
SuperSplash is a native PPC Macintosh application and source code which shows how to put up different kinds of splash screens. In order to display JPEG files, use is made of code by Aaron Giles, as included on the Apprentice 3 CD-ROM.
__________
Apprentice 5:Source Code:C++:Snippets:
Andrew Nemeth
http://zeta.org.au/~aznemeng/
Metrowerks
68KPPC
----------
DragX 1.0a1
DragX is a quick & dirty hack that lets you drag text files into the windows of drag-savvy applications like they were text clippings. DragX requires Macintosh Easy Open (version 1.1 or newer) and, of course, Macintosh Drag And Drop, which is built in System 7.5. Includes a 68K CW project.
__________
Apprentice 5:Source Code:C:System:
Marco Piovanelli
ftp://ghost.dsi.unimi.it/pub2/papers/piovanel/
Metrowerks
68K
----------
GlueWindow INIT v3.0.7
GlueWindowINIT is a freeware program which allows you to clean up desktop windows. When you install GlueWindowINIT on your Mac, dragging windows takes on a cool feature: each window glues to the next window. This is the light version of the GlueWindow control panel.
__________
Apprentice 5:Source Code:C:System:
Takenori Kabeya
/info-mac/dev/src/
Metrowerks
68K
----------
ScreenDaemon 1.2
ScreenDæmon is a simple, extremely efficient screen saver. All it does is fade your screen to black after a certain amount of idle-time has passed, and wake the screen up again when it detects user activity. You may place your cursor in a specified corner to make the screen fade immediately, or to keep it from fading altogether. Fading your screen during inactive periods will help to prevent the burn-in damage that occurs when a static image is displayed for too long.
__________
Apprentice 5:Source Code:C:System:
Mason Loring Bliss
/info-mac/dev/src/
Symantec
68KPPC
----------
SmartDragWindow 1.0.1
SmartDragWindow is an utility which, during window dragging, "snaps" the window to the edges of the monitor and to the edges of other windows in the current application. You can also have the window snap to a hidden grid. Makes fudging your window positions much easier <grin>. Idea by John Pastore, implemented by Hiep Dam.
__________
Apprentice 5:Source Code:C:System:
Hiep Dam
Metrowerks
68K
----------
3D Class Library
3D Class Library, is a freeware C++ class library that allows you to make simple real-time 3d graphics applications. The logical and easy-to-use interface provides the powerful features: Gouraud shading, Free texture mapping, Linear radix z-plane sorting, Arbitrary light source positioning, V3D/ASC file import, Load/Save from/into .obj very simple internal format, Real-time rotations/transformations, Clipping.
__________
Apprentice 5:Source Code:Libraries:
Dmitry Boldyrev
http://amug.org/~demos/
Metrowerks
68KPPC
----------
Advanced I/O v2.3
Advanced I/O is a set of C++ functions and classes dealing mostly with "advanced" i/o and arithmetic compression. The following coding challenges are covered: Extended file names, Explicit Endian I/O of short/long integers, Stream sharing, Simple variable-length coding of short integers, and Arithmetic compression of a stream of integers. The most significant change in this updated version is a 4-line tweak with sharing of an i/o buffer (which became necessary as CW8 on up has changed the way virtual classes are destroyed). The currentimplementation hopefully gets rid of these specific dependencies for good.
__________
Apprentice 5:Source Code:Libraries:
Oleg Kiselyov
ftp://replicant.csci.unt.edu/pub/oleg/
Metrowerks
68KPPC
----------
AudioTimeScaleLib 1.1
AudioTimeScaleLib is a high quality audio time scaling PowerMac native DSP library for use with Metrowerks CodeWarrior. Allows changing the length of a soundfile without affecting pitch. Highly optimized coding of S.Sprenger's 'TIDE' algorithm.
__________
Apprentice 5:Source Code:Libraries:
Frederic Schelling
/info-mac/dev/src/
Metrowerks
PPC
----------
Berkeley DB 1.8.5a
Berkeley DB is the Berkeley database package, ported to Metrowerks CodeWarrior. To use it in your programs, you need CWGUSI, which also is available on Apprentice. 68K and PPC CodeWarrior projects included.
__________
Apprentice 5:Source Code:Libraries:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
Metrowerks
68KPPC
----------
Bitmap Libraries 2.0
Bitmap Libraries is a set of routines for drawing with bitmaps. It includes routines for creating bitmap structures in memory, functions for rotating bitmaps 90 degrees left and right, flip functions for flipping bitmap data both vertically and horizontally, a trace edges routine for tracing the edges of an image, a rotation routine for rotating a bitmap to a particular angle, a routine for duplicating bitmaps, a routine for comparing bitmaps, routines providing the painbucket tool and lasso tool effects, transfer routines for transfering bitmap data to and from the PICT format, a complete set of logical operations on bitmaps, and more.
__________
Apprentice 5:Source Code:Libraries:
John Montbriand
68K
----------
C++ Toolbox 1.0
C++ Toolbox includes two helpful sets of routines: Collections++ 1.0, a quickie implementation of the Collection Manager; and, QuickDraw++, a C++ extension to QuickDraw.
__________
Apprentice 5:Source Code:Libraries:
Chris K. Thomas
Metrowerks
68K
----------
ClutFade 1.3.2
ClutFade is a demo of screen fading operations which can be used to make your games more professional looking. Not only does the clut_fade library let you fade to and from black, but it also provides routines to fade to and from a specific color or a specific clut. It also provides some control over which monitors are faded. Includes source code examples in C and Pascal. Projects for Think C, Think Pascal, and CodeWarrior C also included.
__________
Apprentice 5:Source Code:Libraries:
Mark Womack
SymantecMetrowerks
68KPPC
----------
CW GUSI 1.6.4
CW GUSI is an extension and partial replacement of the standard C runtime library supplied with your compiler. Its main objective is to provide a more or less simple and consistent interface across the communication domains. Additionally, GUSI adds some UNIX library calls dealing with files which were missing, like chdir(), getcwd(), symlink(), and readlink(), and changes a few other library calls to behave more like their POSIX counterparts. Includes CodeWarrior projects.
__________
Apprentice 5:Source Code:Libraries:
Matthias Neeracher
http://err.ethz.ch/members/neeri.html
Metrowerks
68KPPC
----------
DCLAP 6d
DCLAP (Don's Class Application) library is a C++ class library for building applications on the common windowing operating systems (Macintosh, MS-Windows, XWindow-Motif and possibly others). This is built on the cross-platform toolkit from National Center for Biotechnology Information (NCBI) of the National Library of Medicine (NLM), called NCBI toolkit, and especially the Vibrant window system subset, plus the corelib subset. This toolkit is written in ANSI C and compiles on a variety of systems.
__________
Apprentice 5:Source Code:Libraries:
Don Gilbert
ftp://iubio.bio.indiana.edu/util/dclap/
Metrowerks
68KPPC
----------
DeepPict 1.0
DeepPict is a "better picture item" for dialogs. With DeepPict, you can have different depths (including 1-bit) pictures and have DeepPict select the right one for the monitor(s) it is displayed on. DeepPict does work across multiple monitors. DeepPict is small (2.5K). By default, DeepPict will use two PICTs, one for 1-3 bit monitors and another for 4-bit and higher.
__________
Apprentice 5:Source Code:Libraries:
Gregory Lemperle-Kerr
/info-mac/dev/src/
----------
Dots & Pixels
Dots & Pixels contains some C++ classes to generate random dot and random pixel displays. Two example programs, Differential and Transparency, are included. Both names are misnomers, since the programs have grown in scope over time. Differential shows the random dot display capabilities of the library, Transparency shows some random pixel display capabilities.
__________
Apprentice 5:Source Code:Libraries:
Reinder Verlinde
Symantec
68KPPC
----------
EditFields
EditFields is a code library that implements editable text fields in any window, which work similarly to editable fields in dialogs, except that because they can be used in any window, they are more flexible.
__________
Apprentice 5:Source Code:Libraries:
Graham Cox
Symantec
68K
----------
Evaluate
Evaluate is fairly complex library and contains many functions. However, you only need one of them to use it- Evaluate. This function takes a pascal string and a value, and returns the result of the expression in the string. It also returns an error code which is one of the error values listed below, or noErr. The parser looks up tokens in a resource of type 'TOKN', which is hard coded in the library to have the ID 128.
__________
Apprentice 5:Source Code:Libraries:
Graham Cox
Symantec
68K
----------
File Dropper 2.0b1
File Dropper is a CodeWarrior library that implements an application that you can drop files or folders onto to do batch operations on. It handles the getting of the AppleEvents, the main event loop, and the menus. You need only write the code that acts on the individual files. WorkWare - if you use this code, send the author one hour's pay, or US$50 (whichever is greater).
__________
Apprentice 5:Source Code:Libraries:
Troy Anderson
http://www.primenet/~troy/
68K
----------
IC++ 1.0b2
IC++ is a C++ class for working with Internet Config. IC++ is free to use, but I'd appreciate any bug fixes or additional functionality.
__________
Apprentice 5:Source Code:Libraries:
Dan Crevier
ftp://rhino.harvard.edu/pub/dan/
MetrowerksSymantec
68KPPC
----------
JPNL Libraries
JPNL Libraries is a set of highly experimental Java code. None of it has been incorporated in to any final applet or application, so it is all very suspect. If it is of any use to you - good. If not, wait for next time.
__________
Apprentice 5:Source Code:Libraries:
Peter Lewis
ftp://ftp.share.com/peterlewis/
Metrowerks
----------
LinAlg 3.1
LinAlg is a Linear Algebra C++ class library. Among its features are :BLAS, Linear Algebra, optimization, interpolation, SVD, lazy image, vector promise, pseudoinverse, and regularization. The source code is heavily documented.
__________
Apprentice 5:Source Code:Libraries:
Oleg Kiselyov
ftp://replicant.csci.unt.edu/pub/oleg/
Metrowerks
68KPPC
----------
MacPNG Library 1.02
MacPNG Library is the Mac version of a library created by the Portable Network Graphics group. This group was formed in response to patent claims by the Unysis corporation concerning the GIF standard. It has become a design group for a significantly better format for images requiring lossless compression, namely, the Portable Network Graphics (PNG) format.
__________
Apprentice 5:Source Code:Libraries:
Mark Fleming
http://ccsmacinfo.ccs.queensu.ca/Mark/
Metrowerks
68KPPC
----------
mymenv-notify 2.0
mymenv-notify is a set of C++ functions/classes for a few very common Mac chores. Highlights include: posting of synchronous and asynchronous notifications; printf() in an alert box; "magic" conversion from a C to Pascal string; do_well() macro to make sure a "system call" went well; handling of mandatory Apple Events: OpenApplication, {Open|Print}Document, Quit; registering C++ classes as recipients of AppleEvents; a trick of relaying AppleEvents to (abstract) C++ classes for processing; and, template of a generic drop box: an application that handles files dropped upon it. Includes CW9 project file.
__________
Apprentice 5:Source Code:Libraries:
Oleg Kiselyov
ftp://replicant.csci.unt.edu/pub/oleg/
Metrowerks
68K
----------
New WASTE Handlers
New WASTE Handlers is a collection of handlers for WASTE, the World-Aware Styled Text Engine by Marco Piovanelli.
__________
Apprentice 5:Source Code:Libraries:
Chris K. Thomas
MetrowerksSymantec
68KPPC
----------
PlayerPRO 4.5.1
PlayerPRO is a complete library which allows you to incorporate music into your applications. It does this by allowing you to use MOD files, which are special multi-channel sound files that are popular on the Amiga computer. Includes both 68K and PPC sample projects. You can use the PlayerPRO library free in your programs. PlayerPRO itself is $99 shareware.
__________
Apprentice 5:Source Code:Libraries:
Antoine Rosset
ftp://ftp.eskimo.com/u/w/wormey/PlayerPro/
SymantecMetrowerks
68KPPC
----------
SAT 2.3.8
SAT is short for Sprite Animation Toolkit, a programming library for the Apple Macintosh and Apple PowerMac, intended for sprite-based animation. It has been used successfully in over a dozen *released* games. SAT can be used from Think Pascal, Think C, Metrowerks Pascal or Metrowerks C. Using it from C++ is possible, though there are no classes included. OO programmers can try the C++ and TCL Pascal files. They are written by Nathaniel Woods and Patrick Hew, respectively. Nat's package is thoroughly OO, using the "PP" calls in SAT to make sprites and faces work as objects, while Patrick's package is rather meant as a OO platform on top of which the SAT-related routines work as usual.
__________
Apprentice 5:Source Code:Libraries:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
MetrowerksSymantec
68KPPC
----------
ScrapColor 1.0
ScrapColor is an effective way to transfer color information from one program to another without resorting to writing down the actual values of a color and then typing them back in where you want them. This functionality will be integrated into future programs, and hopefully everyone will choose to use it. With the supporting code library written, it is a snap to integrate and call.
__________
Apprentice 5:Source Code:Libraries:
Mark Womack
/info-mac/dev/src/
68K
----------
Scrolling Panel
Scrolling Panel is a library designed to assist you in displaying a lot of text in a scrollable panel, such as in About boxes, or for on-line help systems. Doing this with the dialog manager is something of a chore, as it requires three custom procedures: A user item procedure to draw it, a custom filter to handle the scrollbar hits, and a custom control action procedure to implement continuous scrolling. This library sets all of this up in a very high-level way so that for most purposes, a single call is all that is necessary to display a dialog box with a scrollable text panel. For more complex dialog boxes, a lower level interface is provided which takes much of the drudgery out of this task, and does it in a clean, consistent way.
__________
Apprentice 5:Source Code:Libraries:
Graham Cox
SymantecMetrowerks
68KPPC
----------
Sherlock 2.0
Sherlock is a set of tracing, debugging and profiling tools for C programmers.Includes SPP, a tool to insert Sherlock macros in C files. Complete documentation is included, in both MacWrite Pro and text format. Features new to v2.0 include efficient watchpoints, a library of useful routines, and a new version of SPP. Sherlock v2.0 should work on any Macintosh, including Power Macs. Project files are included for both Metrowerks C or Symantec C. Most of Sherlock is hardward and operating system independent.
__________
Apprentice 5:Source Code:Libraries:
Edward K. Ream
/info-mac/dev/
MetrowerksSymantec
68KPPC
----------
Simple Help
SimpleHelp is a set of routines and data structures which allow you to add a simple help system to any application. This is a resource based system, using resources either included with the application or in a separate resource file. It is a multi-page text-only system, based upon the ScrollDialog library, which is also required to use this library. Either modeless or modal help dialogs can be used, though in most cases you will want a modeless one.
__________
Apprentice 5:Source Code:Libraries:
Graham Cox
Symantec
68K
----------
strlist3
strlist3 is a set of routines for working with string lists (the STR# resource type). It includes routines for creating string list structures in memory, routines for modifying string lists, routines for quickly accessing strings stored in string lists, routines for using string lists as 'sets of strings', and other assorted string list functionality too.. Comes with full C source code, tons of documentation, and a 411 help file.
__________
Apprentice 5:Source Code:Libraries:
John Montbriand
MPW
68K
----------
Tools Plus 3.0
Tools Plus is a set of powerful, yet easy-to-learn productivity libraries for Mac programmers using THINK C, THINK Pascal, and Metrowerks CodeWarrior. It includes 170 high-powered "set and forget" routines. All it takes is a single line of code to create a working user interface element. You get everything you need for a professional looking user interface, including tool bar, floating palettes, picture buttons, panels, color, and text support.
__________
Apprentice 5:Source Code:Libraries:
Steve Makohin
/info-mac/dev/
MetrowerksSymantec
68KPPC
----------
VideoToolbox 96.06.15
VideoToolbox is a collection of two hundred C subroutines and several demo and utility programs that were written to do visual psychophysics with Macintosh computers. It is fully compatible with 680x0 and PowerPC Macs and with Metrowerks CodeWarrior 9 and Symantec C compilers. It's free and may not be sold without permission. It should be useful to anyone who wants to present accurately specified visual stimuli or use the Mac for psychometric experiments.
__________
Apprentice 5:Source Code:Libraries:
Dr. Denis G. Pelli
http://rajsky.psych.nyu.edu/VideoToolbox/
MetrowerksSymantec
68KPPC
----------
WASTE 1.2
WASTE is a text editing library for Macintosh programmers. Designed to be a viable replacement for TextEdit, WASTE offers several enhancements, the major one being the ability to handle text files larger than 32K. Like TextEdit, WASTE handles multi-styled text and relies on the services offered by the Script Manager for drawing, measuring and hit-testing the text and for finding word and line breaks. The built-in support for inline input makes WASTE fully WorldScript II-compliant (on the other hand, bidirectional scripts, like Arabic, are not supported). Projects for CodeWarrior C 9 (68K and PPC) and Symantec C++ 8 (PPC) are included.
__________
Apprentice 5:Source Code:Libraries:
Marco Piovanelli
ftp://ftp.dsi.unimi.it/DSI/piovanel/waste/
MetrowerksSymantec
68KPPC
----------
XCMD libraries 960603
XCMD libraries is a set of classes for dealing with XCMDs. It includes: xcmdStrings.cp, xcmdBase.cp, and xcmdWind.cp.
__________
Apprentice 5:Source Code:Libraries:
Paul B. Beeken
Metrowerks
68KPPC
----------
CornerClock 1.5
CornerClock displays the time or date in the menu bar to the left of the Apple menu. By doing this, it takes up no extra space on your already crowded menu bar. It will also play a grandfather clock chime on the hour (3 chimes as 3:00, 4 at 4:00, etc.).
__________
Apprentice 5:Source Code:Pascal:Applications:
Bill Catambay
/info-mac/dev/src/
Metrowerks
68K
----------
MakeFat 1.0
MakeFat creates fat applications. It has no user interface, just drag two apps on to it, it processes them and quits. If you launch it without any apps, it will complain.
__________
Apprentice 5:Source Code:Pascal:Applications:
Peter Lewis
ftp://ftp.share.com/peterlewis/
Metrowerks
68K
----------
NewWatchP 2.1
NewWatchP was originally written as a desk accessory back in 1985. It was then revived in 1995 by Ken Long, and Ingemar Ragnemalm finally added significant functionality to it. New features include automatic updates, resizeability, more hour marks, optional digits, and display in either black or white.
__________
Apprentice 5:Source Code:Pascal:Applications:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
NIH Image 1.60
NIH Image is a public domain image processing and analysis program for the Macintosh. It can acquire, display, edit, enhance, analyze, print and animate images. It reads and writes TIFF, PICT, PICS and MacPaint files, providing compatibility with many other applications, including programs for scanning, processing, editing, publishing and analyzing images. It supports many standard image processing functions, including contrast enhancement, density profiling, smoothing, sharpening, edge detection, median filtering, and spatial convolution with user defined kernels up to 63x63. It also incorporates a Pascal-like macro programming language, providing the ability to automate complex, and frequently repetitive, processing tasks.
__________
Apprentice 5:Source Code:Pascal:Applications:
Wayne Rasband
ftp://zippy.nimh.nih.gov/pub/nih-image/
Metrowerks
68K
----------
P4/Mac 1.0
P4/Mac is a Macintosh port of a public domain Pascal compiler and interpreter. If you are looking for a good programming environment, this is not it! However, P4/Mac could be of interest to people in beginner programmer courses. Such courses (sadly) often teach "Vanilla Pascal", the nearly useless minimalist Pascal that P4/Mac implements. For those of you who do, P4/Mac is a Public Domain alternative to buying a commercial compiler. That is, if you don't need all the extensions and libraries anyway. Includes full source code in Think Pascal.
__________
Apprentice 5:Source Code:Pascal:Applications:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
PCalendar 1.0
PCalendar is a simple application that asks you for a year and draws a 12 month calendar. That's it.
__________
Apprentice 5:Source Code:Pascal:Applications:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
Ingis WDEF 1.1
Ingis WDEF is sample code to a WDEF, but actually, it is slightly more than that. It is a package that is designed to make WDEF design easier. The approach is to provide a kind of skeleton, where the reuseable code is separated from your custom code. The reuseable code calls the custom code through a set of predefined procedures. IngisWDEF was used for creating the hexagonal window in Hexmines 2.0, as well as the round window in the Pascal version of "NewWatch" (a source code demo of an analog clock).
__________
Apprentice 5:Source Code:Pascal:Code Resources:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68K
----------
Skel 3.0i
Skel is a skeleton demo program. Its purpose is to illustrate in a clear fashion, isolated from any particular application, the basic code for handling a simple Macintosh user interface. It strives to be correct as far as it goes, without many short-cuts that would lead to trouble in larger applications. Includes 68K project for Think Pascal.
__________
Apprentice 5:Source Code:Pascal:Frameworks:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
On The Edge 3.0.1p
On the Edge is a game originally written in C by John Stiles. It was ported to Pascal by Ingemar Ragnemalm. The object is to place the Kings, Queens, and Jacks in their squares, which are labeled on the board. You draw cards, one at a time, and must place each crd on a square of the board. If you are unable to place a face card in its proper position, the game is over.
__________
Apprentice 5:Source Code:Pascal:Games:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
Showwit! 1.0
Showwit! 1.0 is a puzzle game. A 4x4 grid of tiles conceals a picture. Clicking on the tiles will “flip” them back and forth between showing and hiding the picture. When you flip a tile, other tiles may flip in response. Your goal is to reveal the picture by flipping the right tiles. With each level, the tiles which flip in response to your clicks will change. There are over 100 levels to challenge and annoy you (and if you get really put out, theres a program included to generate solutions).
__________
Apprentice 5:Source Code:Pascal:Games:
Patrick Chisan Hew
/info-mac/dev/src/
Symantec
68K
----------
SWar-p
SWar-p is the source code for an unfinished arcade game. Right now, the program lets one player fly the blue ship, with three other ships just placed in random trajectories. The object is simply to shoot the other players. Use the left/right arrow keys to rotate the blue ship, and use the up arrow to thrust, and use the control key to fire missiles. Original concept by Ron Kaps. Ported to Pascal by Ingemar Ragnemalm.
__________
Apprentice 5:Source Code:Pascal:Games:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68KPPC
----------
SWar-p
SWar-p is the source code for an unfinished arcade game. Right now, the program lets one player fly the blue ship, with three other ships just placed in random trajectories. The object is simply to shoot the other players. Use the left/right arrow keys to rotate the blue ship, and use the up arrow to thrust, and use the control key to fire missiles. Original concept by Ron Kaps. Ported to Pascal by Ingemar Ragnemalm.
__________
Apprentice 5:Source Code:Pascal:Games:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68K
----------
3D-Maze 1.0
3DMaze was originally by Mark Frohnmayer, translated to Pascal by Ken Long, and updated with CW projects in both 68K and PPP by Ingemar Ragnemalm. The object is to navigate through a 3D black and white maze, which uses a 16 x 16 table to set bits for where walls are, which also determines which piture to use for the view. Navigation is made through keyPad hits, for direction.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68KPPC
----------
ArraySpeed 1.0
ArraySpeed was written after some alarming reports about CodeWarrior Pascal being slow. The test tries to determine what method should be used for problems where you need to access memory fast, like when making image operation on a pixel-by-pixel basis or making operations on large arrays. The test indicates that Think Pascal is significantly faster than CodeWarrior Pascal in a case like this. The reason is that CodeWarrior Pascal copies pointers between data and address registers when making pointer arithmetics. (PPC Pascal doesn't have this problem.) So, if you use Think Pascal, use pointer arithmetics by casting pointers to Longint and back. If you use CodeWarrior Pascal, use arrays instead. It is still slower than Think Pascal, but not *that* much slower.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68K
----------
Caitlin 1.0
Caitlin is a bit of code for playing with offscreen animation. The PICT (id=1000) has a two pixel border so it won't leave a "trail". The CheckDirection proc calls THINK's NOTE proc just to make some noise when the PICT "bounces" off a "wall". The maskRgn is purely decorative-just something for the PICt to slide behind.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
Campfire 1.1
Campfire is based on source by Brian Stone. Basically, it is a fire simulator. Ported by Ingemar Ragnemalm to Pascal. Includes Think Pascal 68K project as well as a CW PPC project.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68KPPC
----------
CollectPictColors 1.0
CollectPICTColors demonstrates two methods of collecting colors used by PICT resources. In this program, you'll see different results for each method. With the Pict Util package, the routine, GetPictInfo, returns a colortable with the number of colors requested, but only the colors used in the picture or it's pixmap(s) image data are stored in the requested colors. As for the remaining requested colors not used by the picture but stored in the picture's pixmap(s) colortable, they are set to black. In the next demonstration this doesn't occur. All the colors used by the picture, including those stored in the picture's pixmap(s) colortable are returned. To use Jon's routines, simply call CollectColors with the appropriate parameters.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68K
----------
ColorIcosahedron 1.0
Color Icosahedron is a 3D animation of an Icosahedron. It uses glue routines from Offscreen Toys, and includes a palette. The program is, of course, quite dated even when in color, since QuickDraw 3D would do the job much better, but at least it demonstrates some useful things, like auto-using a palette through a "pltt" resource, using glue code for compatibility, string centering etc.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
CopybitsSpeedPalette 1.0
CopybitsSpeedPalette demonstrates methods you can use to increase copybits speed when using palettes. Includes Think Pascal project.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
DimText Pascal 1.0
DimText Pascalis a group of routines for dimming text items in dialogs. As is, it assumes that you are not using the dialog's refCon for anything else. Includes Think Pascal project.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
KbdLts 1.0
KbdLts is a keyboard light manipulating demo that WORKS - which Apple's demo does NOT! This demo is directly based on Apple's demo (from Inside Mac), but corrected to work on non-US keyboards. Apple's code only checked for the US keyboard layout, and did nothing on international keyboards no matter whether they had lights or not.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68K
----------
Keys
Keys demonstrates how to use the Event Manager in order to get a single character from the keyboard like when you use the ReadKey function of Borland/Turbo Pascal. I myself use this program to determine the ASCII codes for special keys like the arrow keys.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Matthias Wuttke
MetrowerksSymantec
68KPPC
----------
LifeEdit 1.0
LifeEdit is a variant of the Life "game" where you create a series of life forms in a grid and use a set of instructions to determine their outcome. If a life form has too many neighbors, it dies from overpopulation. If it has too few neighbors, it procreates. You get the picture. Includes Think Pascal 68K project.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
ListDemo 1.0
ListDemo is a demonstration of the List Manager. It is derived from ancient Turbo Pascal source code and modernized to work with Think Pascal and CodeWarrior.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68KPPC
----------
Marquee Pascal 1.0
Marquee Pascal implements a "rubber band" marquee select rect with very smooth drawing in a manner similar to the Mac Finder. Based on original code by Jordan Zimmerman.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68K
----------
ModalTextEdit 1.0
ModalTextEdit is Pascal code that shows the steps necessary to implement a scrolling, editable text field in a dialog. You may want to do this if you will be requiring the user to enter more than 255 characters (the limit for editText items), if you want a different font for several different editText items, or if you want to add scrolling support to an editible text item.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
NewFader 2.0
NewFader is a set of routines for handing gamma fading in Pascal. Includes Think Pascal 68K project, as well as CW 68K and PPC projects.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
SymantecMetrowerks
68KPPC
----------
ProcPuppy 1.0
ProcPuppy is a simple process management program, related to ProcDoggie but far simpler. Includes Think Pascal project.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
Rotate Bitmap 1.0
Rotate Bitmap is a very simple demonstration of how you might rotate a bitmap 90 degrees. Includes Think Pascal project.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
SlotVBL 1.0
SlotVBL is a general purpose VBL synching unit that you can use in your application. Does not require Color QD. Includes both 68K and PPC projects in CodeWarrior as well as a 68K project in Think Pascal.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
MetrowerksSymantec
68KPPC
----------
vListMngr 1.0
vListMngr is a package of Pascal routines which implement creation and management of Lists with variable column width, and up to four lines of header text per column. The column headers behave like spreadsheet headings, staying fixed on the screen while the cells scroll vertically, and tracking the columns when cells are scrolled horizontally. vListMngr also provides utilities for multiple cell selection and copying and editing cell text. The programming interface to vListMngr is very similar to that of the standard List Manager, and existing programs will require very little modification to incorporate the new features.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Jeff Brewster
/info-mac/dev/src/
SymantecMetrowerksMPW
68KPPC
----------
ZoomRecter 1.0
ZoomRecter shows how to do "Finder" style zooming between two rectangles. The boolean flag "kZoomLarger" controls the proportional direction of the zooming. To get the two rectangles, you drag them out rubberbanded, and the zoom occurs between them. To quit, click the close box.
__________
Apprentice 5:Source Code:Pascal:Snippets:
Ingemar Ragnemalm
ftp://ftp.lysator.liu.se/pub/mac/
Symantec
68K
----------
AGA Classes 1.2
AGA Classes is a set of classes designed to correspond to the "Apple Grayscale Appearance" document that first appeared on the April 1996 developer CD. With the exception of the buttons (better looking) and the Index Tabs (missing) AGA Classes conform to the appearance indicated in this document.
__________
Apprentice 5:Source Code:PowerPlant:
Christophe Andres
/info-mac/dev/
Metrowerks
68KPPC
----------
AGA Slider 1.0
AGA Slider is a project for demonstrating the CSlider class. CSlider is a PowerPlant LControl that looks like a slider from the Apple Grayscale Appearance for System 7. Apple's docs on the AGA show you what things look like to the pixel, but, alas, they don't explain behaviours. Therefore, the behavior of this slider is guessed, mostly by immitating the slider in the Sound control panel.
__________
Apprentice 5:Source Code:PowerPlant:
James Jennings
Metrowerks
68KPPC
----------
BlueLibrary Pack 1 v1.1
BlueLibrary is a set of libraries for the Powerplant framework by MetroWerks. It includes: CPrefDialogBox, CDividedView, CScrollingTextPane, CStartupWindow, and CAboutBox. $25 shareware.
__________
Apprentice 5:Source Code:PowerPlant:
Christophe Causer
http://www.insa-lyon.Fr/People/AEDI/ccauser
Metrowerks
68KPPC
----------
CBalloonKeyAttach 1.0
CBalloonKeyAttach is a class that was written to satisfy some non-Mac users that wanted to know why pressing the Help key didn't do anything. Now it does! They're all happy now. To use this class, just add it as an attachment to any class derived from LCommander.
__________
Apprentice 5:Source Code:PowerPlant:
Paul Robichaux
Metrowerks
68KPPC
----------
CDLOGMenuBar
CDLOGMenuBar is the source code to a dialog(window) menubar object. Using the PPOB for Constructor you can add menubars to your window by simply creating MBARs with ResEdit, drawing them in Constructor and assigning the MBAR IDs to the usercon of the PPOB menubar object. When a menu item is selected msg_DLOGMenuBarSelection is broadcast with ioparam pointing to a long containing the return value of PopupMenuSelect (menuID/item). The code detects if the menubar is too close to the bottom of the screen to pop the menu down, and pops the menu up above the menubar.
__________
Apprentice 5:Source Code:PowerPlant:
Tom Kimpton
ftp://ftp.utval.net/pub/mac/utils/html/
Metrowerks
68KPPC
----------
CKT AGA 1.0
CKT AGA is Chris Thomas' implementation of Apple Grayscale Appearance for PowerPlant.
__________
Apprentice 5:Source Code:PowerPlant:
Chris K. Thomas
Metrowerks
68KPPC
----------
DMultiStringLocator
DMultiStringLocator is a C++ class to provide fast searching for one or more strings. It is an implementation of a table-based algorithm credited to Aho and Corasick and described in "Practical Algorithms for Programmers" by Andrew Binstock and John Rex (published in 1995 by Addison Wesley). It is designed to search for more than one string at a time. Searching for multiple strings works nearly as fast as searching for a single string. Using a table-lookup mechanism eliminates any unnecessary backtracking when a partial match fails, accounting for much of the speed.
__________
Apprentice 5:Source Code:PowerPlant:
Eric Gundrum
Metrowerks
68KPPC
----------
LFixedSizeArray 1.0
LFixedSizeArray is an LArray template wrapper class.
__________
Apprentice 5:Source Code:PowerPlant:
Chris K. Thomas
Metrowerks
68KPPC
----------
LMouser 2.2
LMouser is a mix-in class for use with Metrowerks PowerPlant. It is designed to call the MouseEnter(), MouseLeave() and MouseWithin() methods of the LPane class.
__________
Apprentice 5:Source Code:PowerPlant:
Timothy C. Delaney
Metrowerks
68KPPC
----------
LPasswordField 1.0a
LPasswordField is a Pane containing editable text, but which only displays bullet characters. Use an LPasswordField for small amounts of monstyled text, such as a text entry field in a dialog box. PasswordField derives from the LEditField class, so similar restrictions apply to its usage (it uses TextEdit, and it's not a View, so you can't put an LPasswordField in a Scroller).
__________
Apprentice 5:Source Code:PowerPlant:
Dair Grant
http://www.kagi.com/authors/dair
Metrowerks
68K
----------
LProgressIndicator & Friends
LProgressIndicator & Friends is a progress feedback framework for PowerPlant apps. Included classes: LProgressIndicator, LThermometerPane, LCursor, LAnimateCursor, LProgressDialog, and LProgressIndicatorProxy. A sample PowerPlant app is provided, based on one of the many Threads sample apps.
__________
Apprentice 5:Source Code:PowerPlant:
Chris K. Thomas
Metrowerks
68KPPC
----------
LTimeDateControl 1.0
LTimeDateControl is a drop in module to give your Power Plant based application an easy to use, graphical time and/or date picker. The user interface of LTimeDateControl allows a user to click on a portion of a date and/or time string, and then change it's value by clicking on an arrow or with the arrow keys.
__________
Apprentice 5:Source Code:PowerPlant:
Michael F. Kamprath
http://www.leonardo.net/kamprath/
Metrowerks
68KPPC
----------
Property 2.1
Property is a class for PowerPlant. A property is a data type with separate reading and writing access methods. It is a highly abstract entity whose implementation is completely hidden from the user. A property is designed to act a closely as possible as though it were simply a data member of the base type for the property.
__________
Apprentice 5:Source Code:PowerPlant:
Timothy C. Delaney
Metrowerks
68K
----------
TCodeModule & Friends
TCodeModule & Friends is a set of PowerPlant routines for using the Code Fragment Manager.
__________
Apprentice 5:Source Code:PowerPlant:
Chris K. Thomas
MetrowerksSymantec
68K
----------
AutoPay SDK Mac R1.02
AutoPay is a software module that you can insert in your own programs. It allows users to pay for your software with a credit card. They can pay instantaneously through a modem, through a voice telephone call, through the mail, or through a fax. You don't need a credit card merchant account. AutoPay is great for both shareware authors and for software publishers who want to distribute their products through on-line channels.
__________
Apprentice 5:Source Code:SDKs:
Matthew Klein
/info-mac/dev/lib/
MetrowerksSymantec
68KPPC
----------
FaxSTF™ Developers Kit 3.2
FaxSTF™ Developers Kit will allow you to automate the process of generating and sending large amounts of faxes from a database application. This will enable you to get the full benefit of both your database and the fax software without the need to keep information in both places. There are several routines provided to help you do this. A database program could be written to general several faxes, one to each person in the database, and fax each of them a custom generated letter, all automatically with no user interaction.
__________
Apprentice 5:Source Code:SDKs:
Donald MacCormick
68K
----------
Now Utilities Plug Ins 6.0
Now Utilities Plug Ins allow you to write your own Plug Ins for Now Utilities 6.0. A lot of sample code is provided for you to start from. Writing Plug Ins for Now Utilities can be incredibly easy (15 minutes to an hour in most cases), so have fun!
__________
Apprentice 5:Source Code:SDKs:
Henry Carstens
http://www.nowsoft.com/
Metrowerks
68K
----------
Word Services SDK 1.0.6
Word Services SDK helps you to write applications which can use the Word Services suite of Apple events. The suite should be supported by applications that let the user edit text, such as word processors, drawing programs, spreadsheets, or electronic mail packages. Included is the complete source code for a simple word processor called Writeswell Jr., as well as a debugging version of a speller and a dictionary. This updated version also contains a HyperCard XCMD, demonstrating how to use Word Services from within HyperCard.
CBartenderHelpMenu.p is a bartender which handles items in the application help menu. This is the part of the help menu below the standard help menu items. This class does not "own" the application help menu in any way. It merely calls the appropriate Help Manager routines.
__________
Apprentice 5:Source Code:Think Class Libraries:
Patrick Chisan Hew
/info-mac/dev/src/
Symantec
68K
----------
CPixMap.p 1.0
CPixMap.p overrides the "CBitMap" and "CBitMapPane" classes to accomodate color. A new instance variable of CBitMapPane in the CColorBitMapPane class which is called "bitsUnderPane ". It becomes very useful when dragging objects around , such as when having to take a "picture" of the entire window or screen as Symantec 's Art Class demo does.
__________
Apprentice 5:Source Code:Think Class Libraries:
Patrick Chisan Hew
/info-mac/dev/src/
Symantec
68KPPC
----------
CProgressBar 1.2
CProgressBar is a subclass of CPane which emulates the Finder's progress bar when you copy files. Use it like any other CPane subclass.
__________
Apprentice 5:Source Code:Think Class Libraries:
Marty Wachter
Symantec
68K
----------
SAT-TCL 1.0b2
SAT-TCL is a collection of classes which interface the Sprite Animation Toolkit with the THINK Class Library. It does so by handling the graphical elements required to make SAT behave within TCL. The creation of sprites, sounds and the like is performed as for "normal" SAT development. SAT-TCL is integrated with the same author's Game Classes. These provide a "game mode" in which event processing is streamlined, which translates into more speed and hence better animation. This saves the developer from having to make a custom "inner event loop" for each game. The included Bouncing Demo is a simple demonstration of SAT-TCL .
__________
Apprentice 5:Source Code:Think Class Libraries:
Patrick Chisan Hew
/info-mac/dev/src/
Symantec
68KPPC
----------
TP TCL->CW TCL v1.1.2.3
TP TCL->CW TCL is a version of TCL that works with CodeWarrior's Pascal compilers for 68K and for PPC. Revisions to TCL were made by Marcel Achim of Metrowerks so that it would compile using the CW compilers.
WASTE TCL is meant to be an easy replacement for the CStyleText class in TCL,adding support for WASTE's additional capabilities. WASTE is a TextEdit replacement by Marco Piovanelli that adds many features such as > 32k text support, drag and drop support, undo support, and so on.